package com.yuandengta.yomall.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 线程池配置 {@link ThreadPoolProperties}
 *
 * @author Kevin
 * @email: 178676392@qq.com
 */
@ConfigurationProperties(prefix = "yomall.thread")
@Data
public class ThreadPoolProperties {
    /**
     * 核心线程数
     */
    private Integer coreSize;
    /**
     * 最大线程数
     */
    private Integer maxSize;
    /**
     * 空闲回收时间
     */
    private Integer keepAliveTime;
    /**
     * 队列大小
     */
    private Integer queueSize;
}
